package com.dome.client.config.result.enums;

public enum RtnResultCodeEnums {


    SUCCESS(1,"操作成功","success"),

    FAIL(-1,"系统异常","fail'"),
    PARAMTER_IS_NULL(-2,"参数为空","PARAMTER_IS_NULL"),
    SERVICE_EXCEPTION(-3,"内部服务异常,稍后再试.","SERVICE_EXCEPTION"),
    NOTLOGIN(-4,"登陆超时,获取当前用户信息失败,请重新登陆","NOT_LOGIN")
    ;

    private Integer code;

    private String msgCN;

    private String msgEN;

    RtnResultCodeEnums(Integer code, String msgCN) {
        this.code = code;
        this.msgCN = msgCN;
    }

    RtnResultCodeEnums(Integer code, String msgCN, String msgEN) {
        this.code = code;
        this.msgCN = msgCN;
        this.msgEN = msgEN;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsgCN() {
        return msgCN;
    }

    public void setMsgCN(String msgCN) {
        this.msgCN = msgCN;
    }

    public String getMsgEN() {
        return msgEN;
    }

    public void setMsgEN(String msgEN) {
        this.msgEN = msgEN;
    }
}



